<div class="dvthicongs view">
<h2><?php  __('Dvthicong');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $dvthicong['Dvthicong']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tendvthicong'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $dvthicong['Dvthicong']['tendvthicong']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Dvthicong', true), array('action' => 'edit', $dvthicong['Dvthicong']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Dvthicong', true), array('action' => 'delete', $dvthicong['Dvthicong']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dvthicong['Dvthicong']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Dvthicongs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dvthicong', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ctrinhs', true), array('controller' => 'ctrinhs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ctrinh', true), array('controller' => 'ctrinhs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Ctrinhs');?></h3>
	<?php if (!empty($dvthicong['Ctrinh'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Chudaut Id'); ?></th>
		<th><?php __('Dvthicong Id'); ?></th>
		<th><?php __('Hthucdaut Id'); ?></th>
		<th><?php __('Hangmuc Id'); ?></th>
		<th><?php __('Tenctrinh'); ?></th>
		<th><?php __('Tiendo'); ?></th>
		<th><?php __('Ddiemxd'); ?></th>
		<th><?php __('Ngaybd'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($dvthicong['Ctrinh'] as $ctrinh):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ctrinh['id'];?></td>
			<td><?php echo $ctrinh['chudaut_id'];?></td>
			<td><?php echo $ctrinh['dvthicong_id'];?></td>
			<td><?php echo $ctrinh['hthucdaut_id'];?></td>
			<td><?php echo $ctrinh['hangmuc_id'];?></td>
			<td><?php echo $ctrinh['tenctrinh'];?></td>
			<td><?php echo $ctrinh['tiendo'];?></td>
			<td><?php echo $ctrinh['ddiemxd'];?></td>
			<td><?php echo $ctrinh['ngaybd'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'ctrinhs', 'action' => 'view', $ctrinh['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'ctrinhs', 'action' => 'edit', $ctrinh['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'ctrinhs', 'action' => 'delete', $ctrinh['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ctrinh['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ctrinh', true), array('controller' => 'ctrinhs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
